package org.blogwu.learn.multithread.chapter2.demo3;

public class Test2 {

    public static void main(String[] args) throws InterruptedException {
        Thread t1 = new Thread(() -> {
            try {
                Thread.sleep(-5000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        });

        t1.start();
        Thread.sleep(2000);
        t1.interrupt();
    }
}
